#pragma once

#include <iostream>

template <typename T>
void printcoll(T const& coll)
{
    typename T::const_iterator pos;
    typename T::const_iterator end(coll.end());

    for (pos = coll.begin(); pos != end; ++pos)
    {
        std::cout << *pos << ' ';
    }

    std::cout << std::endl;
}

void f_printcoll()
{
    std::vector<int> vecInt({ 1, 2, 3, 4, 5, 6 });
    printcoll(vecInt);
}